how to read space in string in c